package com.hntxk.cqzd.export.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hntxk.core.constant.CoreConstants;
import com.hntxk.core.framework.model.BaseModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author liucz
 * @version 1.0.0
 * @ClassName PunctureResult.java
 * @Description TODO
 * @createTime 2021-01-13- 17:29:00
 */
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Data
public class PunctureResult extends BaseModel {


    /**
     *  登记编号
     */
    private String recordId;

    /**
     *  ID
     */
    private String diagnosisId;

    /**
     *  患者姓名
     */
    private String patientName;

    /**
     *  身份证号
     */
    private String patientCardId;

    /**
     *  患者年龄
     */
    private Integer patientAge;

    /**
     *  穿刺指征
     */
    private String assayRemark;

    /**
     *  穿刺类型
     */
    private String inspectionItem;

    /**
     *  穿刺时间
     */
    @DateTimeFormat( pattern = CoreConstants.DATETIME_FORMAT )
    @JsonFormat(pattern=CoreConstants.DATETIME_FORMAT)
    private Date inspectionTime;

    /**
     *  穿刺时间转换对象
     */
    private String strInspectionTime;

}
